<?php

namespace app\console\validate;

use app\common\validate\Base;

/**
 * 用户组validate
 * */
class Group extends Base
{
    protected $rule = [
        'group_name' => 'require|unique:group|max:128',

    ];

    protected $message = [
        'group_name.require' => '填写用户组名',
        'group_name.unique' => '用户组已存在',
        'group_name.max' => '用户组最长为128个字符'

    ];


}